<%@page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8" isELIgnored="false"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<style type="text/css">
#oper {
    position: absolute;
    right: 20px;
    top: 50px;
}
</style>
<c:if test="${login}">
        <span id="oper"><a href="/edit/category">编辑</a></span>
        
</c:if>
<div class="category" id="category">
    <ul>
        <c:forEach items="${categorys}" var="category">
            <li><a href="#">${category.name}(${category.articleCount})</a></li>
        </c:forEach>
    </ul>
</div>